package edu.sctu.wangxiaoqiang.day20150614;

/**
 * Created by user25 on 2015/6/14.
 */
public class FileMain {

    public static final String FILE_PATH = "D:\\more";
    public static final String FILE_NEW = FILE_PATH+"\\sdfsdfg.txt";

    public static void main(String[] args) {

        FileSet fileSet = new FileSet();
        System.out.println("创建文件夹"+FILE_PATH);
        fileSet.setFile(FILE_PATH);
        System.out.println("在文件夹" + FILE_PATH + "下创建文件" + FILE_NEW);
        fileSet.setNewFile(FILE_NEW);
        System.out.println(fileSet.isFile(FILE_NEW));
        fileSet.method(FILE_NEW);

    }

}
